﻿@model List<DisputeApply>
@foreach (var item in Model)
{
    <tr>
        <td>
            @Html.DisplayFor(m => item.DisputeReason)
        </td>
        <td style="width:80px">
            @BindDropDownList.GetUserName(item.ApplyMan)
        </td>
        <td style="width:80px">
            @BindDropDownList.ApprovalName(item.Status)
        </td>
        <td style="width:80px">
        @if (item.Status == 1)
        {
        <a href='@Url.Action("Agree", new { item.Id, controller = "DisputeApply" })' target="_blank" class="btn btn-mini" onclick="DetailsApproveDispute(this);return false;">
                <i class="icon-edit"></i>同意争议</a> 
        <a href='@Url.Action("Reject", new { item.Id, controller = "DisputeApply" })' target="_blank" class="btn btn-mini" onclick="DetailsApproveDispute(this);return false;">
                    <i class="icon-edit"></i>拒绝争议</a>
        }
        </td>
    </tr> 
}
